<?php
// +----------------------------------------------------------------------
// | WoShiMaiJia Projcet 
// +----------------------------------------------------------------------
// | Copyright (c) 2010 http://woshimaijia.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: xinqiyang <517577550@qq.com>
// +----------------------------------------------------------------------
/**
 * 内容Model
 * @author xinqiyang
 * @date   2010-7-7
 *
 */
class ContentModel extends MetaModel
{


	protected $_validate  = array(
	array ('module','require','模块代码不能为空',1,'',1),
	array ('action','require','不能为空',1,'',1),
	array ('title','require','帮助标题不能为空',1,'',1),
	array ('tags','require','关键字不能为空',1,'',1),
	array ('desc','require','帮助提示信息不能为空',1,'',1),
	array ('sequence','require','排序不能为空',1,'',1),
	array ('content','require','内容不能为空',1,'',1),
		
	);


	protected $_auto = array(
	array ('services_id','1'),
		

	);
	//dump view model
	//public $viewFields = array(

	//'content'=>array(
	//'id',//'module',//'action',//'ttitle',//'tags',//'desc',//'sequence',//'status',//'content',//'services_id',//'_on'=>'  '),
	//);
}
?>